import request from "@/utils/request";

//登录
export const farmerLoginApi = (user) => {
  return request.post('/public/login', user);
}

//注册
export const farmerRegisterApi = (user) => {
  return request.post('/public/register', user);
}